<!--
 * @Author: wangyu
 * @Date: 2024-12-25 22:05:30
 * @LastEditTime: 2024-12-26 11:40:11
 * @LastEditors: wangyu
 * @Description: 园区企业
 * @FilePath: \dzsq-smartpark-platform\src\views\overview\components\company.vue
-->
<template>
  <comHeaer title="园区企业"></comHeaer>
  <div class="list">
    <div v-for="item in list" :key="item.name">
      <div class="list-name">{{ item.name }}</div>
      <div class="list-item">
        <div class="list-item-progress">
          <el-progress
            :text-inside="true"
            :stroke-width="18"
            :percentage="item.percentage"
            color="#65b8f8"
          ></el-progress>
        </div>
        <div class="list-item-count">{{ item.value }}家</div>
      </div>
    </div>
  </div>
</template>

<script setup>
import comHeaer from "../../components/comHeader/index.vue";
const list = ref([
  { name: "高新技术企业", value: "100", percentage: 25 },
  { name: "科技型企业", value: "49", percentage: 12.25 },
  { name: "规上工业企业", value: "105", percentage: 26.25 },
  { name: "外贸工业企业", value: "88", percentage: 22.0 },
  { name: "世界500强企业", value: "58", percentage: 14.5 },
]);
</script>
<style scoped lang="scss">
::v-deep {
  .el-progress-bar__outer {
    background-color: rgba(46, 78, 107, 0.6);
  }
}
.list {
  font-size: 16px;
  padding: 0 16px;
  &-item {
    display: flex;
    align-items: center;
    margin-top: 10px;
    &-progress {
      flex: 1;
    }
    &-count {
      width: 76px;
      padding-right: 16px;
      text-align: right;
    }
  }
  &-name {
    margin-top: 12px;
  }
}
</style>
